<!-- **i18n版本-->
<template>
  <div class="">
    <header class="header">{{ tff('moduleName') }}</header>
    <el-table ref="table" :data="this.detail" size="small" style="width: 100%">
      <el-table-column prop="deviceId" :label="tff('deviceId')" />
      <el-table-column prop="log" :label="tff('log')" />
      <el-table-column prop="updateBy" :label="tff('updateBy')" />
      <el-table-column prop="updateTime" :label="tff('updateTime')" />
      <!-- v-if="checkPer(['admin','deviceLogDetail:edit','deviceLogDetail:del'])"-->
      <el-table-column :label="$t('btn.operationCol')" width="200px" align="center" />
    </el-table>
  </div>
</template>

<script>
import i18nHandler from '@/mixins/i18nHandler'

export default {
  name: 'DeviceLogDetailPreviewItem',
  mixins: [i18nHandler],
  props: {
    module: String,
    alias: String,
  },
  data() {
    return {
      detail: {},
      i18nQry: {},
    }
  },
  created() {
    this.i18nQry.module = this.module
  },
  methods: {
    tff(code) {
      return this.tf(this.alias + '.' + code)
    },
  },
}
</script>

<style scoped></style>
